<template>
  <div class="welcome">
    <h1>欢迎来到主页面----{{ msg }}</h1>
    <!-- <el-button>去登录</el-button> -->
    <router-link to="/login">去登录</router-link>
  </div>
</template>

<script setup>
import { defineProps, reactive } from "vue";
defineProps({
  msg: String,
});
const state = reactive({ count: 0 });
</script>

<style scoped>
.welcome {
  background-color: #fff;
}
</style>